package ren.wxyz.algorithm.memdb;

/**
 * 数据对象
 * @author zxwang
 * @dateTime 2014年11月20日 下午4:27:40
 */
public class Person implements Recordable<Person> {
	private static final long serialVersionUID = 8375885386666083922L;
	
	private String name;
	private int age;
	
	public Person() {}
	
	public Person(String name, int age) {
		this.name = name;
		this.age = age;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	@Override
	public Person clone() {
		return new Person(this.name, this.age);
	}
}
